package com.sc.softmgr.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @content SysGray实体类Example
 * 
 * @date Sat Jun 17 13:54:44 CST 2017
 * 
 * @author OprCalf
 * 
 */

public class SysGrayExample implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	protected int limitStart = -1;

	protected int count = -1;

	public SysGrayExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	public void setLimitStart(int limitStart) {
		this.limitStart = limitStart;
	}

	public int getLimitStart() {
		return limitStart;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int getCount() {
		return count;
	}

	public Criteria getCriteria() {
		if (oredCriteria.size() != 0) {
			return oredCriteria.get(0);
		}
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	protected abstract static class GeneratedCriteria {
	
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
		
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}
			    public Criteria andIdIsNull() {		    addCriterion("id is null");	        return (Criteria) this;	    }		    public Criteria andIdIsNotNull() {	        addCriterion("id is not null");	        return (Criteria) this;	    }		    public Criteria andIdEqualTo(java.lang.Integer value) {	        addCriterion("id =", value, "id");	        return (Criteria) this;	    }		    public Criteria andIdNotEqualTo(java.lang.Integer value) {	        addCriterion("id <>", value, "id");	        return (Criteria) this;	    }		    public Criteria andIdGreaterThan(java.lang.Integer value) {	        addCriterion("id >", value, "id");	        return (Criteria) this;	    }		    public Criteria andIdGreaterThanOrEqualTo(java.lang.Integer value) {	        addCriterion("id >=", value, "id");	        return (Criteria) this;	    }		    public Criteria andIdLessThan(java.lang.Integer value) {	        addCriterion("id <", value, "id");	        return (Criteria) this;	    }		    public Criteria andIdLessThanOrEqualTo(java.lang.Integer value) {	        addCriterion("id <=", value, "id");	        return (Criteria) this;	    }		    public Criteria andIdIn(List<java.lang.Integer> values) {	        addCriterion("id in", values, "id");	        return (Criteria) this;	    }		    public Criteria andIdNotIn(List<java.lang.Integer> values) {	        addCriterion("id not in", values, "id");	        return (Criteria) this;	    }		    public Criteria andIdBetween(java.lang.Integer value1, java.lang.Integer value2) {	        addCriterion("id between", value1, value2, "id");	        return (Criteria) this;	    }		    public Criteria andIdNotBetween(java.lang.Integer value1, java.lang.Integer value2) {	        addCriterion("id not between", value1, value2, "id");	        return (Criteria) this;	    }		    public Criteria andGrayNameIsNull() {		    addCriterion("grayName is null");	        return (Criteria) this;	    }		    public Criteria andGrayNameIsNotNull() {	        addCriterion("grayName is not null");	        return (Criteria) this;	    }		    public Criteria andGrayNameEqualTo(java.lang.String value) {	        addCriterion("grayName =", value, "grayName");	        return (Criteria) this;	    }		    public Criteria andGrayNameNotEqualTo(java.lang.String value) {	        addCriterion("grayName <>", value, "grayName");	        return (Criteria) this;	    }		    public Criteria andGrayNameGreaterThan(java.lang.String value) {	        addCriterion("grayName >", value, "grayName");	        return (Criteria) this;	    }		    public Criteria andGrayNameGreaterThanOrEqualTo(java.lang.String value) {	        addCriterion("grayName >=", value, "grayName");	        return (Criteria) this;	    }		    public Criteria andGrayNameLessThan(java.lang.String value) {	        addCriterion("grayName <", value, "grayName");	        return (Criteria) this;	    }		    public Criteria andGrayNameLessThanOrEqualTo(java.lang.String value) {	        addCriterion("grayName <=", value, "grayName");	        return (Criteria) this;	    }		    public Criteria andGrayNameIn(List<java.lang.String> values) {	        addCriterion("grayName in", values, "grayName");	        return (Criteria) this;	    }		    public Criteria andGrayNameNotIn(List<java.lang.String> values) {	        addCriterion("grayName not in", values, "grayName");	        return (Criteria) this;	    }		    public Criteria andGrayNameBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("grayName between", value1, value2, "grayName");	        return (Criteria) this;	    }		    public Criteria andGrayNameNotBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("grayName not between", value1, value2, "grayName");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdIsNull() {		    addCriterion("originalServiceId is null");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdIsNotNull() {	        addCriterion("originalServiceId is not null");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdEqualTo(java.lang.Integer value) {	        addCriterion("originalServiceId =", value, "originalServiceId");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdNotEqualTo(java.lang.Integer value) {	        addCriterion("originalServiceId <>", value, "originalServiceId");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdGreaterThan(java.lang.Integer value) {	        addCriterion("originalServiceId >", value, "originalServiceId");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdGreaterThanOrEqualTo(java.lang.Integer value) {	        addCriterion("originalServiceId >=", value, "originalServiceId");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdLessThan(java.lang.Integer value) {	        addCriterion("originalServiceId <", value, "originalServiceId");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdLessThanOrEqualTo(java.lang.Integer value) {	        addCriterion("originalServiceId <=", value, "originalServiceId");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdIn(List<java.lang.Integer> values) {	        addCriterion("originalServiceId in", values, "originalServiceId");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdNotIn(List<java.lang.Integer> values) {	        addCriterion("originalServiceId not in", values, "originalServiceId");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdBetween(java.lang.Integer value1, java.lang.Integer value2) {	        addCriterion("originalServiceId between", value1, value2, "originalServiceId");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceIdNotBetween(java.lang.Integer value1, java.lang.Integer value2) {	        addCriterion("originalServiceId not between", value1, value2, "originalServiceId");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameIsNull() {		    addCriterion("originalServiceName is null");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameIsNotNull() {	        addCriterion("originalServiceName is not null");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameEqualTo(java.lang.String value) {	        addCriterion("originalServiceName =", value, "originalServiceName");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameNotEqualTo(java.lang.String value) {	        addCriterion("originalServiceName <>", value, "originalServiceName");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameGreaterThan(java.lang.String value) {	        addCriterion("originalServiceName >", value, "originalServiceName");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameGreaterThanOrEqualTo(java.lang.String value) {	        addCriterion("originalServiceName >=", value, "originalServiceName");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameLessThan(java.lang.String value) {	        addCriterion("originalServiceName <", value, "originalServiceName");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameLessThanOrEqualTo(java.lang.String value) {	        addCriterion("originalServiceName <=", value, "originalServiceName");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameIn(List<java.lang.String> values) {	        addCriterion("originalServiceName in", values, "originalServiceName");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameNotIn(List<java.lang.String> values) {	        addCriterion("originalServiceName not in", values, "originalServiceName");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("originalServiceName between", value1, value2, "originalServiceName");	        return (Criteria) this;	    }		    public Criteria andOriginalServiceNameNotBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("originalServiceName not between", value1, value2, "originalServiceName");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdIsNull() {		    addCriterion("grayServiceId is null");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdIsNotNull() {	        addCriterion("grayServiceId is not null");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdEqualTo(java.lang.Integer value) {	        addCriterion("grayServiceId =", value, "grayServiceId");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdNotEqualTo(java.lang.Integer value) {	        addCriterion("grayServiceId <>", value, "grayServiceId");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdGreaterThan(java.lang.Integer value) {	        addCriterion("grayServiceId >", value, "grayServiceId");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdGreaterThanOrEqualTo(java.lang.Integer value) {	        addCriterion("grayServiceId >=", value, "grayServiceId");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdLessThan(java.lang.Integer value) {	        addCriterion("grayServiceId <", value, "grayServiceId");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdLessThanOrEqualTo(java.lang.Integer value) {	        addCriterion("grayServiceId <=", value, "grayServiceId");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdIn(List<java.lang.Integer> values) {	        addCriterion("grayServiceId in", values, "grayServiceId");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdNotIn(List<java.lang.Integer> values) {	        addCriterion("grayServiceId not in", values, "grayServiceId");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdBetween(java.lang.Integer value1, java.lang.Integer value2) {	        addCriterion("grayServiceId between", value1, value2, "grayServiceId");	        return (Criteria) this;	    }		    public Criteria andGrayServiceIdNotBetween(java.lang.Integer value1, java.lang.Integer value2) {	        addCriterion("grayServiceId not between", value1, value2, "grayServiceId");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameIsNull() {		    addCriterion("grayServiceName is null");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameIsNotNull() {	        addCriterion("grayServiceName is not null");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameEqualTo(java.lang.String value) {	        addCriterion("grayServiceName =", value, "grayServiceName");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameNotEqualTo(java.lang.String value) {	        addCriterion("grayServiceName <>", value, "grayServiceName");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameGreaterThan(java.lang.String value) {	        addCriterion("grayServiceName >", value, "grayServiceName");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameGreaterThanOrEqualTo(java.lang.String value) {	        addCriterion("grayServiceName >=", value, "grayServiceName");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameLessThan(java.lang.String value) {	        addCriterion("grayServiceName <", value, "grayServiceName");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameLessThanOrEqualTo(java.lang.String value) {	        addCriterion("grayServiceName <=", value, "grayServiceName");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameIn(List<java.lang.String> values) {	        addCriterion("grayServiceName in", values, "grayServiceName");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameNotIn(List<java.lang.String> values) {	        addCriterion("grayServiceName not in", values, "grayServiceName");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("grayServiceName between", value1, value2, "grayServiceName");	        return (Criteria) this;	    }		    public Criteria andGrayServiceNameNotBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("grayServiceName not between", value1, value2, "grayServiceName");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdIsNull() {		    addCriterion("grayUserId is null");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdIsNotNull() {	        addCriterion("grayUserId is not null");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdEqualTo(java.lang.Integer value) {	        addCriterion("grayUserId =", value, "grayUserId");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdNotEqualTo(java.lang.Integer value) {	        addCriterion("grayUserId <>", value, "grayUserId");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdGreaterThan(java.lang.Integer value) {	        addCriterion("grayUserId >", value, "grayUserId");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdGreaterThanOrEqualTo(java.lang.Integer value) {	        addCriterion("grayUserId >=", value, "grayUserId");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdLessThan(java.lang.Integer value) {	        addCriterion("grayUserId <", value, "grayUserId");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdLessThanOrEqualTo(java.lang.Integer value) {	        addCriterion("grayUserId <=", value, "grayUserId");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdIn(List<java.lang.Integer> values) {	        addCriterion("grayUserId in", values, "grayUserId");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdNotIn(List<java.lang.Integer> values) {	        addCriterion("grayUserId not in", values, "grayUserId");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdBetween(java.lang.Integer value1, java.lang.Integer value2) {	        addCriterion("grayUserId between", value1, value2, "grayUserId");	        return (Criteria) this;	    }		    public Criteria andGrayUserIdNotBetween(java.lang.Integer value1, java.lang.Integer value2) {	        addCriterion("grayUserId not between", value1, value2, "grayUserId");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameIsNull() {		    addCriterion("grayUserName is null");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameIsNotNull() {	        addCriterion("grayUserName is not null");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameEqualTo(java.lang.String value) {	        addCriterion("grayUserName =", value, "grayUserName");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameNotEqualTo(java.lang.String value) {	        addCriterion("grayUserName <>", value, "grayUserName");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameGreaterThan(java.lang.String value) {	        addCriterion("grayUserName >", value, "grayUserName");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameGreaterThanOrEqualTo(java.lang.String value) {	        addCriterion("grayUserName >=", value, "grayUserName");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameLessThan(java.lang.String value) {	        addCriterion("grayUserName <", value, "grayUserName");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameLessThanOrEqualTo(java.lang.String value) {	        addCriterion("grayUserName <=", value, "grayUserName");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameIn(List<java.lang.String> values) {	        addCriterion("grayUserName in", values, "grayUserName");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameNotIn(List<java.lang.String> values) {	        addCriterion("grayUserName not in", values, "grayUserName");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("grayUserName between", value1, value2, "grayUserName");	        return (Criteria) this;	    }		    public Criteria andGrayUserNameNotBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("grayUserName not between", value1, value2, "grayUserName");	        return (Criteria) this;	    }		    public Criteria andExpireTimeIsNull() {		    addCriterion("expireTime is null");	        return (Criteria) this;	    }		    public Criteria andExpireTimeIsNotNull() {	        addCriterion("expireTime is not null");	        return (Criteria) this;	    }		    public Criteria andExpireTimeEqualTo(java.util.Date value) {	        addCriterion("expireTime =", value, "expireTime");	        return (Criteria) this;	    }		    public Criteria andExpireTimeNotEqualTo(java.util.Date value) {	        addCriterion("expireTime <>", value, "expireTime");	        return (Criteria) this;	    }		    public Criteria andExpireTimeGreaterThan(java.util.Date value) {	        addCriterion("expireTime >", value, "expireTime");	        return (Criteria) this;	    }		    public Criteria andExpireTimeGreaterThanOrEqualTo(java.util.Date value) {	        addCriterion("expireTime >=", value, "expireTime");	        return (Criteria) this;	    }		    public Criteria andExpireTimeLessThan(java.util.Date value) {	        addCriterion("expireTime <", value, "expireTime");	        return (Criteria) this;	    }		    public Criteria andExpireTimeLessThanOrEqualTo(java.util.Date value) {	        addCriterion("expireTime <=", value, "expireTime");	        return (Criteria) this;	    }		    public Criteria andExpireTimeIn(List<java.util.Date> values) {	        addCriterion("expireTime in", values, "expireTime");	        return (Criteria) this;	    }		    public Criteria andExpireTimeNotIn(List<java.util.Date> values) {	        addCriterion("expireTime not in", values, "expireTime");	        return (Criteria) this;	    }		    public Criteria andExpireTimeBetween(java.util.Date value1, java.util.Date value2) {	        addCriterion("expireTime between", value1, value2, "expireTime");	        return (Criteria) this;	    }		    public Criteria andExpireTimeNotBetween(java.util.Date value1, java.util.Date value2) {	        addCriterion("expireTime not between", value1, value2, "expireTime");	        return (Criteria) this;	    }		    public Criteria andGrayRuleIsNull() {		    addCriterion("grayRule is null");	        return (Criteria) this;	    }		    public Criteria andGrayRuleIsNotNull() {	        addCriterion("grayRule is not null");	        return (Criteria) this;	    }		    public Criteria andGrayRuleEqualTo(java.lang.String value) {	        addCriterion("grayRule =", value, "grayRule");	        return (Criteria) this;	    }		    public Criteria andGrayRuleNotEqualTo(java.lang.String value) {	        addCriterion("grayRule <>", value, "grayRule");	        return (Criteria) this;	    }		    public Criteria andGrayRuleGreaterThan(java.lang.String value) {	        addCriterion("grayRule >", value, "grayRule");	        return (Criteria) this;	    }		    public Criteria andGrayRuleGreaterThanOrEqualTo(java.lang.String value) {	        addCriterion("grayRule >=", value, "grayRule");	        return (Criteria) this;	    }		    public Criteria andGrayRuleLessThan(java.lang.String value) {	        addCriterion("grayRule <", value, "grayRule");	        return (Criteria) this;	    }		    public Criteria andGrayRuleLessThanOrEqualTo(java.lang.String value) {	        addCriterion("grayRule <=", value, "grayRule");	        return (Criteria) this;	    }		    public Criteria andGrayRuleIn(List<java.lang.String> values) {	        addCriterion("grayRule in", values, "grayRule");	        return (Criteria) this;	    }		    public Criteria andGrayRuleNotIn(List<java.lang.String> values) {	        addCriterion("grayRule not in", values, "grayRule");	        return (Criteria) this;	    }		    public Criteria andGrayRuleBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("grayRule between", value1, value2, "grayRule");	        return (Criteria) this;	    }		    public Criteria andGrayRuleNotBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("grayRule not between", value1, value2, "grayRule");	        return (Criteria) this;	    }		    public Criteria andCreateByIsNull() {		    addCriterion("createBy is null");	        return (Criteria) this;	    }		    public Criteria andCreateByIsNotNull() {	        addCriterion("createBy is not null");	        return (Criteria) this;	    }		    public Criteria andCreateByEqualTo(java.lang.String value) {	        addCriterion("createBy =", value, "createBy");	        return (Criteria) this;	    }		    public Criteria andCreateByNotEqualTo(java.lang.String value) {	        addCriterion("createBy <>", value, "createBy");	        return (Criteria) this;	    }		    public Criteria andCreateByGreaterThan(java.lang.String value) {	        addCriterion("createBy >", value, "createBy");	        return (Criteria) this;	    }		    public Criteria andCreateByGreaterThanOrEqualTo(java.lang.String value) {	        addCriterion("createBy >=", value, "createBy");	        return (Criteria) this;	    }		    public Criteria andCreateByLessThan(java.lang.String value) {	        addCriterion("createBy <", value, "createBy");	        return (Criteria) this;	    }		    public Criteria andCreateByLessThanOrEqualTo(java.lang.String value) {	        addCriterion("createBy <=", value, "createBy");	        return (Criteria) this;	    }		    public Criteria andCreateByIn(List<java.lang.String> values) {	        addCriterion("createBy in", values, "createBy");	        return (Criteria) this;	    }		    public Criteria andCreateByNotIn(List<java.lang.String> values) {	        addCriterion("createBy not in", values, "createBy");	        return (Criteria) this;	    }		    public Criteria andCreateByBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("createBy between", value1, value2, "createBy");	        return (Criteria) this;	    }		    public Criteria andCreateByNotBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("createBy not between", value1, value2, "createBy");	        return (Criteria) this;	    }		    public Criteria andCreateTimeIsNull() {		    addCriterion("createTime is null");	        return (Criteria) this;	    }		    public Criteria andCreateTimeIsNotNull() {	        addCriterion("createTime is not null");	        return (Criteria) this;	    }		    public Criteria andCreateTimeEqualTo(java.util.Date value) {	        addCriterion("createTime =", value, "createTime");	        return (Criteria) this;	    }		    public Criteria andCreateTimeNotEqualTo(java.util.Date value) {	        addCriterion("createTime <>", value, "createTime");	        return (Criteria) this;	    }		    public Criteria andCreateTimeGreaterThan(java.util.Date value) {	        addCriterion("createTime >", value, "createTime");	        return (Criteria) this;	    }		    public Criteria andCreateTimeGreaterThanOrEqualTo(java.util.Date value) {	        addCriterion("createTime >=", value, "createTime");	        return (Criteria) this;	    }		    public Criteria andCreateTimeLessThan(java.util.Date value) {	        addCriterion("createTime <", value, "createTime");	        return (Criteria) this;	    }		    public Criteria andCreateTimeLessThanOrEqualTo(java.util.Date value) {	        addCriterion("createTime <=", value, "createTime");	        return (Criteria) this;	    }		    public Criteria andCreateTimeIn(List<java.util.Date> values) {	        addCriterion("createTime in", values, "createTime");	        return (Criteria) this;	    }		    public Criteria andCreateTimeNotIn(List<java.util.Date> values) {	        addCriterion("createTime not in", values, "createTime");	        return (Criteria) this;	    }		    public Criteria andCreateTimeBetween(java.util.Date value1, java.util.Date value2) {	        addCriterion("createTime between", value1, value2, "createTime");	        return (Criteria) this;	    }		    public Criteria andCreateTimeNotBetween(java.util.Date value1, java.util.Date value2) {	        addCriterion("createTime not between", value1, value2, "createTime");	        return (Criteria) this;	    }		    public Criteria andUpdateByIsNull() {		    addCriterion("updateBy is null");	        return (Criteria) this;	    }		    public Criteria andUpdateByIsNotNull() {	        addCriterion("updateBy is not null");	        return (Criteria) this;	    }		    public Criteria andUpdateByEqualTo(java.lang.String value) {	        addCriterion("updateBy =", value, "updateBy");	        return (Criteria) this;	    }		    public Criteria andUpdateByNotEqualTo(java.lang.String value) {	        addCriterion("updateBy <>", value, "updateBy");	        return (Criteria) this;	    }		    public Criteria andUpdateByGreaterThan(java.lang.String value) {	        addCriterion("updateBy >", value, "updateBy");	        return (Criteria) this;	    }		    public Criteria andUpdateByGreaterThanOrEqualTo(java.lang.String value) {	        addCriterion("updateBy >=", value, "updateBy");	        return (Criteria) this;	    }		    public Criteria andUpdateByLessThan(java.lang.String value) {	        addCriterion("updateBy <", value, "updateBy");	        return (Criteria) this;	    }		    public Criteria andUpdateByLessThanOrEqualTo(java.lang.String value) {	        addCriterion("updateBy <=", value, "updateBy");	        return (Criteria) this;	    }		    public Criteria andUpdateByIn(List<java.lang.String> values) {	        addCriterion("updateBy in", values, "updateBy");	        return (Criteria) this;	    }		    public Criteria andUpdateByNotIn(List<java.lang.String> values) {	        addCriterion("updateBy not in", values, "updateBy");	        return (Criteria) this;	    }		    public Criteria andUpdateByBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("updateBy between", value1, value2, "updateBy");	        return (Criteria) this;	    }		    public Criteria andUpdateByNotBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("updateBy not between", value1, value2, "updateBy");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeIsNull() {		    addCriterion("updateTime is null");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeIsNotNull() {	        addCriterion("updateTime is not null");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeEqualTo(java.util.Date value) {	        addCriterion("updateTime =", value, "updateTime");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeNotEqualTo(java.util.Date value) {	        addCriterion("updateTime <>", value, "updateTime");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeGreaterThan(java.util.Date value) {	        addCriterion("updateTime >", value, "updateTime");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeGreaterThanOrEqualTo(java.util.Date value) {	        addCriterion("updateTime >=", value, "updateTime");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeLessThan(java.util.Date value) {	        addCriterion("updateTime <", value, "updateTime");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeLessThanOrEqualTo(java.util.Date value) {	        addCriterion("updateTime <=", value, "updateTime");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeIn(List<java.util.Date> values) {	        addCriterion("updateTime in", values, "updateTime");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeNotIn(List<java.util.Date> values) {	        addCriterion("updateTime not in", values, "updateTime");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeBetween(java.util.Date value1, java.util.Date value2) {	        addCriterion("updateTime between", value1, value2, "updateTime");	        return (Criteria) this;	    }		    public Criteria andUpdateTimeNotBetween(java.util.Date value1, java.util.Date value2) {	        addCriterion("updateTime not between", value1, value2, "updateTime");	        return (Criteria) this;	    }		    public Criteria andDeletedIsNull() {		    addCriterion("deleted is null");	        return (Criteria) this;	    }		    public Criteria andDeletedIsNotNull() {	        addCriterion("deleted is not null");	        return (Criteria) this;	    }		    public Criteria andDeletedEqualTo(java.lang.String value) {	        addCriterion("deleted =", value, "deleted");	        return (Criteria) this;	    }		    public Criteria andDeletedNotEqualTo(java.lang.String value) {	        addCriterion("deleted <>", value, "deleted");	        return (Criteria) this;	    }		    public Criteria andDeletedGreaterThan(java.lang.String value) {	        addCriterion("deleted >", value, "deleted");	        return (Criteria) this;	    }		    public Criteria andDeletedGreaterThanOrEqualTo(java.lang.String value) {	        addCriterion("deleted >=", value, "deleted");	        return (Criteria) this;	    }		    public Criteria andDeletedLessThan(java.lang.String value) {	        addCriterion("deleted <", value, "deleted");	        return (Criteria) this;	    }		    public Criteria andDeletedLessThanOrEqualTo(java.lang.String value) {	        addCriterion("deleted <=", value, "deleted");	        return (Criteria) this;	    }		    public Criteria andDeletedIn(List<java.lang.String> values) {	        addCriterion("deleted in", values, "deleted");	        return (Criteria) this;	    }		    public Criteria andDeletedNotIn(List<java.lang.String> values) {	        addCriterion("deleted not in", values, "deleted");	        return (Criteria) this;	    }		    public Criteria andDeletedBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("deleted between", value1, value2, "deleted");	        return (Criteria) this;	    }		    public Criteria andDeletedNotBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("deleted not between", value1, value2, "deleted");	        return (Criteria) this;	    }		    public Criteria andVersionIsNull() {		    addCriterion("version is null");	        return (Criteria) this;	    }		    public Criteria andVersionIsNotNull() {	        addCriterion("version is not null");	        return (Criteria) this;	    }		    public Criteria andVersionEqualTo(java.lang.String value) {	        addCriterion("version =", value, "version");	        return (Criteria) this;	    }		    public Criteria andVersionNotEqualTo(java.lang.String value) {	        addCriterion("version <>", value, "version");	        return (Criteria) this;	    }		    public Criteria andVersionGreaterThan(java.lang.String value) {	        addCriterion("version >", value, "version");	        return (Criteria) this;	    }		    public Criteria andVersionGreaterThanOrEqualTo(java.lang.String value) {	        addCriterion("version >=", value, "version");	        return (Criteria) this;	    }		    public Criteria andVersionLessThan(java.lang.String value) {	        addCriterion("version <", value, "version");	        return (Criteria) this;	    }		    public Criteria andVersionLessThanOrEqualTo(java.lang.String value) {	        addCriterion("version <=", value, "version");	        return (Criteria) this;	    }		    public Criteria andVersionIn(List<java.lang.String> values) {	        addCriterion("version in", values, "version");	        return (Criteria) this;	    }		    public Criteria andVersionNotIn(List<java.lang.String> values) {	        addCriterion("version not in", values, "version");	        return (Criteria) this;	    }		    public Criteria andVersionBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("version between", value1, value2, "version");	        return (Criteria) this;	    }		    public Criteria andVersionNotBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("version not between", value1, value2, "version");	        return (Criteria) this;	    }		    public Criteria andRemarkIsNull() {		    addCriterion("remark is null");	        return (Criteria) this;	    }		    public Criteria andRemarkIsNotNull() {	        addCriterion("remark is not null");	        return (Criteria) this;	    }		    public Criteria andRemarkEqualTo(java.lang.String value) {	        addCriterion("remark =", value, "remark");	        return (Criteria) this;	    }		    public Criteria andRemarkNotEqualTo(java.lang.String value) {	        addCriterion("remark <>", value, "remark");	        return (Criteria) this;	    }		    public Criteria andRemarkGreaterThan(java.lang.String value) {	        addCriterion("remark >", value, "remark");	        return (Criteria) this;	    }		    public Criteria andRemarkGreaterThanOrEqualTo(java.lang.String value) {	        addCriterion("remark >=", value, "remark");	        return (Criteria) this;	    }		    public Criteria andRemarkLessThan(java.lang.String value) {	        addCriterion("remark <", value, "remark");	        return (Criteria) this;	    }		    public Criteria andRemarkLessThanOrEqualTo(java.lang.String value) {	        addCriterion("remark <=", value, "remark");	        return (Criteria) this;	    }		    public Criteria andRemarkIn(List<java.lang.String> values) {	        addCriterion("remark in", values, "remark");	        return (Criteria) this;	    }		    public Criteria andRemarkNotIn(List<java.lang.String> values) {	        addCriterion("remark not in", values, "remark");	        return (Criteria) this;	    }		    public Criteria andRemarkBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("remark between", value1, value2, "remark");	        return (Criteria) this;	    }		    public Criteria andRemarkNotBetween(java.lang.String value1, java.lang.String value2) {	        addCriterion("remark not between", value1, value2, "remark");	        return (Criteria) this;	    }	
	}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}